package com.lixueju.security.box.validate.code;

import org.springframework.web.context.request.ServletWebRequest;

/**
 * <p>
 *  验证码生成器
 * </p>
 *
 * @author lixueju
 * @since 2019-09-07
 */
public interface ValidateCodeGenerator {
    /**
     * 生成校验码
     * @param request
     * @return
     */
    ValidateCode generate(ServletWebRequest request);
}
